Platform Explorer / Nuxeo Platform 2023.9

Component org.nuxeo.ecm.liveconnect.box.core.BoxComponent

Documentation

Management of Box configuration.

Requirements

Resolution Order

436
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.liveconnect.box.core.BoxComponent" version="1.0.0">

  <require>org.nuxeo.ecm.core.blob.BlobManager</require>
  <require>org.nuxeo.ecm.platform.oauth2.providers.OAuth2ServiceProviderRegistry</require>

  <documentation>
    Management of Box configuration.
  </documentation>

  <extension target="org.nuxeo.ecm.platform.oauth2.providers.OAuth2ServiceProviderRegistry" point="providers">
    <provider>
      <name>box</name>
      <description>Box</description>
      <class>org.nuxeo.ecm.liveconnect.box.BoxOAuth2ServiceProvider</class>
      <tokenServerURL>https://app.box.com/api/oauth2/token</tokenServerURL>
      <authorizationServerURL>https://app.box.com/api/oauth2/authorize?response_type=code</authorizationServerURL>
      <clientId>${nuxeo.box.clientId:=}</clientId>
    </provider>
  </extension>

  <extension target="org.nuxeo.ecm.core.blob.BlobManager" point="configuration">
    <blobprovider name="box">
      <class>org.nuxeo.ecm.liveconnect.box.BoxBlobProvider</class>
      <property name="clientId">${nuxeo.box.clientId:=}</property>
    </blobprovider>
  </extension>

</component>